// 从公共backtop组件中引入Backtop类
import Backtop from 'components/backtop';

const el=document.getElementById('backtop');
const critical_point=0
const scrollContainer=document.getElementById('main');
// 创建Backtop实例
new Backtop(el, critical_point, scrollContainer);